package com.jjyd.crlp.model.dto.register;

import com.jjyd.crlp.domain.entity.type.LoginType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 注册信息
 */
@Data
@ApiModel("注册信息")
public class RegisterLoginDto {


    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名",required = true)
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码",required = true)
    private String password;

    /**
     * 登陆类型：PHONE,EMAIL
     */
    @ApiModelProperty(value = "登陆类型：PHONE,EMAIL",required = true)
    private LoginType loginType;


    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称",required = true)
    private String nickName;
}
